package com.gouwudai.gobbs.dao.impl;

import java.util.List;

import org.apache.log4j.Logger;

import com.gouwudai.gobbs.dao.IDictParamDAO;

/**
 * 
 * <pre>
 *  Title:参数字典DAO
 *  Description: TODO  
 * </pre>
 * 
 * @author <a href="mailto:littcai@hotmail.com">空心大白菜</a>
 * @date 2007-3-29
 * @version 1.0
 * <pre>
 * 修改记录
 *    修改后版本:     修改人：  修改日期:     修改内容: 
 * </pre>
 */
public class DictParamDAOImpl extends BaseDAOImpl implements IDictParamDAO 
{
	private static final Logger logger = Logger.getLogger(DictParamDAOImpl.class);	
	private static final String BUSI_NAME = "参数字典";	
	

	public List listByType(String dictType)
	{
		String hql = "from TbbsDictParam obj where obj.dictType='"+dictType+"'";		
		return super.listAll(hql);
	}
	
	public List listAll()
	{
		String hql = "from TbbsDictParam";		
		return super.listAll(hql);
	}	
  
}
